package com.ruoyi.project.module.wtc.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;

import java.util.Date;

public class DelAccount {
    /** 序号 */
    @Excel(name = "序号")
    private String id;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNumber;

    /** 会员柜号 */
    @Excel(name = "会员柜号")
    private String memberCounterNumber;

    /** 持卡人姓名 */
    @Excel(name = "持卡人姓名")
    private String name;

    /** 类型 */
    @Excel(name = "类型",readConverterExp = "0=储值卡,1=次卡")
    private String type;

    /** 卡性质 */
    @Excel(name = "卡性质",readConverterExp = "0=一卡通,1=三倍卡,2=会员优惠卡,3=次卡,4=游泳学员卡,991=储值卡小计,992=次卡小计,993=总计")
    private String cardNature;

    /** 剩余金额 */
    @Excel(name = "剩余金额")
    private String residualAmount;

    /** 经手人 */
    @Excel(name = "经手人")
    private String operator;

    /** 销户时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "销户时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date accountClosureTime;

    public DelAccount() {
    }

    public DelAccount(String id, String cardNumber, String memberCounterNumber, String name, String type, String cardNature, String residualAmount, String operator, Date accountClosureTime) {
        this.id = id;
        this.cardNumber = cardNumber;
        this.memberCounterNumber = memberCounterNumber;
        this.name = name;
        this.type = type;
        this.cardNature = cardNature;
        this.residualAmount = residualAmount;
        this.operator = operator;
        this.accountClosureTime = accountClosureTime;
    }

    public String getId() {
        return id;
    }

    public DelAccount setId(String id) {
        this.id = id;
        return this;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public DelAccount setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
        return this;
    }

    public String getMemberCounterNumber() {
        return memberCounterNumber;
    }

    public DelAccount setMemberCounterNumber(String memberCounterNumber) {
        this.memberCounterNumber = memberCounterNumber;
        return this;
    }

    public String getName() {
        return name;
    }

    public DelAccount setName(String name) {
        this.name = name;
        return this;
    }

    public String getType() {
        return type;
    }

    public DelAccount setType(String type) {
        this.type = type;
        return this;
    }

    public String getCardNature() {
        return cardNature;
    }

    public DelAccount setCardNature(String cardNature) {
        this.cardNature = cardNature;
        return this;
    }

    public String getResidualAmount() {
        return residualAmount;
    }

    public DelAccount setResidualAmount(String residualAmount) {
        this.residualAmount = residualAmount;
        return this;
    }

    public String getOperator() {
        return operator;
    }

    public DelAccount setOperator(String operator) {
        this.operator = operator;
        return this;
    }

    public Date getAccountClosureTime() {
        return accountClosureTime;
    }

    public DelAccount setAccountClosureTime(Date accountClosureTime) {
        this.accountClosureTime = accountClosureTime;
        return this;
    }

    @Override
    public String toString() {
        return "DelAccount{" +
                "id='" + id + '\'' +
                ", cardNumber='" + cardNumber + '\'' +
                ", memberCounterNumber='" + memberCounterNumber + '\'' +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", cardNature='" + cardNature + '\'' +
                ", residualAmount='" + residualAmount + '\'' +
                ", operator='" + operator + '\'' +
                ", accountClosureTime=" + accountClosureTime +
                '}';
    }
}
